PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • length
          • length()
    • length
      • length()
    Source

    length¶

    porems.geometry.length(vec)¶

    Calculate the length of a vector \(\boldsymbol{a}\in\mathbb{R}^n\)

    \[\text{length}(\boldsymbol{a})=|\boldsymbol{a}| =\sqrt{\boldsymbol{a}\cdot\boldsymbol{a}}\]
    Parameters:
    veclist

    Vector a

    Returns:
    lengthfloat

    Vector length

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.