Polar

class Polar(var theta: Double = 0.0, var r: Double = 0.0)

A class to represent a polar vector

Parameters

theta

The angle of the vector

r

The length of the vector

Constructors

Link copied to clipboard
constructor(theta: Double = 0.0, r: Double = 0.0)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
var r: Double
Link copied to clipboard