hstack
Module: strata.core • Kind: function
Source: strata/core/matrix.mojo
def hstack[dtype: DType = DType.float64]( matrices: List[Matrix[dtype]],) -> Matrix[dtype]
def hstack[dtype: DType = DType.float64]( A: Matrix[dtype], B: Matrix[dtype],) -> Matrix[dtype]Overload Note: This function provides multiple overloaded signatures.
from strata.core import hstackHorizontally stacks a list of matrices with matching row counts.
Returns: Matrix[dtype] — Matrix[dtype]: Concatenated matrix of shape (rows, sum(cols)).