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.101 x86.64 (2284, heads/master-29a92525f9, Nov 9 2024 06:55:18)