
Main
Home
Quick tour
Documentation
Mailing Lists
Demonstration
Download
Sourceforge project
FAQ
History
Links
Toolboxes
Char
Control
Crypto
Finance
FunFun
General
Graphics
Image
Internal
InputOutput
LinearAlgebra
Matrix
Miscellaneous
Net
Polynomial
Set
Signal
SpecFun
SpecialMatrix
Statistics
String
System
Time
Trigonometric
...
Contact
Developers
|
JMathLib
A Java Clone of Octave, SciLab, Freemat and Matlab.
[Index]
[Documentation]
[Demonstration]
[Download]
Matrices are entered by enclosing the values in [ ]. Each item in a row is
separated by a , and each row is separated by a
;.
The identity matrix can be entered using the function eye
with the size of the matrix as the parameter.
A zero filled matrix can be entered using the zeros
function. This accepts either one parameter to produce a square matrix or two to produce a rectangular matrix.
A one filled matrix can be entered using the ONES function. This accepts either one parameter to produce a square matrix or two to produce a rectangular matrix.
A one dimensional matrix containing a series of numbers can be created using the colon operator either with the form
|