Vocabulary math.matrices.extras Inputs Outputs Word description Create a box matrix (a
square-matrix ) with the dimensions of
r x r , filled with ones. The number of elements in the output scales linearly (
(r*2)+1 ) with
r .
Examples USING: math.matrices.extras prettyprint ;
2 <box-matrix> .{
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
}
USING: math.matrices.extras prettyprint ;
3 <box-matrix> .{
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
}
Definition
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.100 x86.64 (2265, heads/master-aa51b2c23b, May 16 2024 13:09:59)