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.102 x86.64 (2297, heads/master-034f5e82b2, Dec 11 2025 08:38:40)