معالج القالب

ملف:TempEngGen015.svg
مخطّط يوضّح كلّ العناصر الأساسية وتدفق المعالجة لمحرّك القالب.

معالج القالب (معروف كذلك محرّك القالب) هو برمجية أو مكوّن برمجية الذي صمّم لجمع قالبا و احدا أو أكثر مع شكل المعطيات لإعطاء وثيقة واحدة أو أكثر كنتيجة.

عناصر النظام

نموذج المعطيات

%Ayat Mohammed Sadeq Abd-Alatef %Home Work 1 %THE PROGRAM COSINEFUN %Using Matlab Software %The distance between the degree is 5 degree in the program %,but the distance between the degree is 15 degree in the figure . close all clc m=18; n=4*m+1; x=linspace(0,1,n); a=x(1:m+1); y(1:m+1)=cos(2*pi*a); %cos(theta)=-cos(pi-theta); y(2*m+2:-1:m+2)=-y(1:m+1); %cos(thet)=-acos(pi+theta); y(2*m+2:3*m+2)=-y(1:m+1); %cos(thet)=cos(-thet) y(4*m+3:-1:3*m+3)=y(1:m+1); y=cos(2*pi*x); disp(' ') disp(' k degree:x(k) radians:x(k) disp('***************************************** ') for k=1:3:n degrees=(k-1)*360/(n-1); radians=(2*degrees*pi)/360; disp(sprintf('%3.0f %5.0f %10.3f %15.4f ',... k,degrees,radians,y(k)))

end disp(' ') disp(sprintf('one degree=%5.3e radians',... pi/180)) %plot(x,y) plot(x,y,'*-') title('program cos(x(k))') xlabel('the x-axis') ylabel('the y-axis')

قالب مصدري

محرك القالب

وصلات خارجية

ملف:Do while cyklus.png هذه بذرة مقالة عن برمجيات الحاسوب تحتاج للنمو والتحسين، فساهم في إثرائها بالمشاركة في تحريرها.

de:Template Engine Template processor]] ja:テンプレートエンジン