represents an array of ones with unspecified dimensions.
SymbolicOnesArray[{n1,n2,…}]
represents an n1×n2×… array of ones.
SymbolicOnesArray
represents an array of ones with unspecified dimensions.
SymbolicOnesArray[{n1,n2,…}]
represents an n1×n2×… array of ones.
Details
- Valid dimension specifications ni in SymbolicOnesArray[{n1,n2,…}] are positive integers. It is also possible to work with symbolic dimension specifications.
- SymbolicOnesArray may be produced by arithmetic operations and differentiation involving ArraySymbol objects.
- For an array a=SymbolicOnesArray[{n1,n2,…}] with positive integer dimension specifications ni, Normal[a] converts a to an explicit array. SparseArray[a] converts a to a SparseArray.
Examples
open all close allBasic Examples (3)
Arithmetic operations may return a SymbolicOnesArray:
a = ArraySymbol["a", {m, n, p}];a - a + 1The derivative of an array expression may involve a SymbolicOnesArray:
v = VectorSymbol["v", d];D[CentralMoment[v, r], v]Create a SymbolicOnesArray with explicit numeric dimensions:
a = SymbolicOnesArray[{2, 2, 2}]Convert a to an explicit array:
Normal[a]Convert a to a SparseArray:
SparseArray[a]Scope (2)
SymbolicOnesArray[{m, n}] - 1SymbolicOnesArray[{m, n}] + xSymbolicOnesArray[{m, n}] MatrixSymbol["a", {m, n}]SymbolicOnesArray[{m, n, p}] ^ 7Transpose[SymbolicOnesArray[{m, n}]]TensorProduct[SymbolicOnesArray[{m, n}], SymbolicOnesArray[{p, q, r}]]Properties & Relations (3)
SymbolicOnesArray gives a symbolic representation of the array:
a = SymbolicOnesArray[{2, 2, 2}]ConstantArray gives an explicit array:
b = ConstantArray[1, {2, 2, 2}]Use Normal to convert a to an explicit array:
Normal[a] === bSymbolicZerosArray gives an array of zeros:
a = SymbolicZerosArray[{2, 3, 4}]a + 1SymbolicOnesArray is a special case of SymbolicDeltaProductArray:
SymbolicDeltaProductArray[{2, 3, 4}, {}]Related Guides
History
Text
Wolfram Research (2024), SymbolicOnesArray, Wolfram Language function, https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.
CMS
Wolfram Language. 2024. "SymbolicOnesArray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.
APA
Wolfram Language. (2024). SymbolicOnesArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SymbolicOnesArray.html
BibTeX
@misc{reference.wolfram_2026_symboliconesarray, author="Wolfram Research", title="{SymbolicOnesArray}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_symboliconesarray, organization={Wolfram Research}, title={SymbolicOnesArray}, year={2024}, url={https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}, note=[Accessed: 13-June-2026]}