cat2

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
   
 
   
 
Return Value: a 2 dimensional matrix
 
Return Value: a 2 dimensional matrix
 
 
 
|
 
|
 
[[Syntax]]: cat2(a<sub>i,j</sub> // a<sub>i+1,j</sub> // a<sub>i+2,j</sub> , a<sub>i,j+1</sub> // a<sub>i+1,j+1</sub> // a<sub>i+2,j+1</sub>)
 
[[Syntax]]: cat2(a<sub>i,j</sub> // a<sub>i+1,j</sub> // a<sub>i+2,j</sub> , a<sub>i,j+1</sub> // a<sub>i+1,j+1</sub> // a<sub>i+2,j+1</sub>)
Line 12: Line 10:
 
  To advance to the next row use ","
 
  To advance to the next row use ","
 
|
 
|
 
 
  dv> cat2(1//2//3,1//2//34)
 
  dv> cat2(1//2//3,1//2//34)
 
  3x2x1 array of int, bsq format [24 bytes]
 
  3x2x1 array of int, bsq format [24 bytes]
Line 21: Line 18:
  
 
|
 
|
 +
|
 +
*[[cat]]
 
|
 
|
 
*[[create]]
 
*[[create]]
|
+
*[[create2]]
*[[cat]]
+
*[[cat2]]
+
 
|
 
|
 
|
 
|
Line 34: Line 31:
  
 
[[category:Functions]]
 
[[category:Functions]]
 +
[[category:User Defined Functions]]
 
[[category:Matrix]]
 
[[category:Matrix]]
 
[[category:Math]]
 
[[category:Math]]

Latest revision as of 13:52, 9 September 2011


Description

A simplification of the cat function.

Arguments and Return Values

Arguments: a series of values

Return Value: a 2 dimensional matrix

Usage

Syntax: cat2(ai,j // ai+1,j // ai+2,j , ai,j+1 // ai+1,j+1 // ai+2,j+1)

A series of values are entered together one row at a time.
Each value is separated by "//"
To advance to the next row use ","

Examples

dv> cat2(1//2//3,1//2//34)
3x2x1 array of int, bsq format [24 bytes]
1       2       3
1       2       34

Created by: Mike Veto


DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 09-09-2011
Modified On: 09-09-2011

Personal tools