identity

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Identity moved to identity)
 
Line 6: Line 6:
 
Return Value: the float, bsq identity matrix
 
Return Value: the float, bsq identity matrix
 
|
 
|
Syntax: identity(INT)
+
[[Syntax]]: identity(INT)
 
   
 
   
 
Generate an identity matrix of the given size.
 
Generate an identity matrix of the given size.

Latest revision as of 10:51, 27 March 2006



Description

Generate identity matrix

Arguments and Return Values

Arguments: a number indicating the dimension of the matrix

Return Value: the float, bsq identity matrix

Usage

Syntax: identity(INT)

Generate an identity matrix of the given size.

Examples

dv> identity(3)
3x3x1 array of float, bsq format [36 bytes]
1.00000 0.00000 0.00000
0.00000 1.00000 0.00000
0.00000 0.00000 1.00000

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-27-2006

Personal tools