identity

From DavinciWiki
Jump to: navigation, search


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