Skip to content

mathematicsLab/AsuMathLabG12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsuMathLabG12

Phase 1:Core Operation

Mathematical library software. Include: -Class for matrix. -Support dynamic creation and destruction of matrices of any size. -Support addition, subtraction, multiplication, transpose and division. -Process input user commands and show results directly. -Process input file.

Phase 2:Advanced operations and Tuning

-Support mathematical functions (Trigonometric,Logarethmic,Roots and Power) -Support mathematical expressions (with dot or not) -Support flexible matrix parser (accept matrix in matrix ,expressions and variables) -Support error handling

Some Examples

  • A = 5.5 + 12 * sin(0.4) + 2.2^4;
  • A should equal 33.5986
  • B=[1.2 2.3 A;[1.3 2.4;4.6 1.3],[3.2;7.8]];
  • B should be a matrix 3x3 and its values[ 1.2 2.3 33.5986; 1.3 2.4 3.2; 4.6 1.3 7.8]
  • C=rand(4,4)

C =

0.8147    0.6324    0.9575    0.9572
0.9058    0.0975    0.9649    0.4854
0.1270    0.2785    0.1576    0.8003
0.9134    0.5469    0.9706    0.1419
  • D=eye(4,4)

-D should be 4x4 matrix all elements equal 0 except the main diagonal element equals 1

  • E=zeros(2,3);
  • E should be a matrix of zeros with 2 rows and 3 columns

About

Mathematical library software.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors