Interface VectorTransposable<RC>

Type Parameters:
RC - the resulting row/column type
All Known Implementing Classes:
Vector1, Vector2.Col, Vector2.Row, Vector3.Col, Vector3.Row, VectorN.Col, VectorN.Row

public interface VectorTransposable<RC>
VectorTransposable enforces the contract on a vector to transpose the vector (swap rows and columns).

Copyright (c) 2025-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.

Author:
Alexander Verbraeck
  • Method Summary

    Modifier and Type
    Method
    Description
    Transpose the vector (swap rows and columns).
  • Method Details

    • transpose

      RC transpose()
      Transpose the vector (swap rows and columns).
      Returns:
      the transposed vector