Skip to main content

A library for linear algebra calculations

Project description

Welcome to LinearAlgCalc!

This library is built to simplify linear algebra calculations.

To import the necessary functions and classes type 'from linearalgcalc import myfunctions'

Classes

  • Vector: A vector with real numbers
  • Complex Number
  • Complex vectors: Vectors with complex numbers

Functions

  • Complex

    • re: returns the real part of a complex number

    • im: returns the imaginary part of a complex number

    • addition: adds two complex numbers

    • subtraction: subtracts two complex numbers

    • multiplication: multiplies two complex numbers

    • conjugate: returns the complex conjugate

    • modulus: calculates the modulus

    • polar_form: returns the polar form as a string

    • exponent: returns the complex number to the exponent of n

    • roots: calculates the nth roots of a complex number

  • Vector

    • addition: Calculates and returns the sum of two vectors

    • subtraction: Calculates and returns the difference of two vectors

    • scalar_multiplication: Calculates and returns the product of a vector with a scalar

    • norm: Calculates the norm of a vector

    • dot_product: Calculates the dot product of two vectors

    • angle_between: Calculates the angle between two vectors

    • cross_product: Calculates the cross product of two vectors in R3

    • projection: Calculates the projection of a vector onto another

    • unit_vector: Returns the unit vector equivalent of the vector

    • parallelepiped_volume: Calculates and returns the volume of a parallelepiped constructed by three vectors

    • isParallel: Returns a boolean value that is dependent on whether the two vectors are parallel or not

  • ComplexVector

    • addition: Calculates and returns the sum of two complex vectors

    • subtraction: Calculates and returns the difference of two complex vectors

    • scalar_multiplication: Calculates and returns the product of a complex vector with a scalar

    • norm: Calculates the norm of a complex vector

    • inner_product: Calculates and returns the inner product of a complex vector

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linearalgcalc-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file linearalgcalc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: linearalgcalc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for linearalgcalc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8620aaaa0828d1b764243fa236cee295902ed631f40773f20845d462d9ad4e9c
MD5 322b0a9ac48cc270128c5310d9024b5f
BLAKE2b-256 aa470600f1d6dd3e8d79a40012f495d63744fdc74674b3c69340f14723292936

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page