Documentation ¶
Index ¶
- func GetParentheses(inpt string) (string, bool)
- func IsValidAngleMap(m map[string]any) bool
- func IsValidLineMap(m map[string]any) bool
- func IsValidPointMap(m map[string]any) bool
- func IsValidTriangle(t Triangle) bool
- func IsValidTriangleMap(m map[string]any) bool
- func OpenCalculator()
- func PrepEquation(equation string) string
- func Pythag(leg1, leg2 float64) float64
- func Root(x, y float64) float64
- func Solve(equation string) float64
- func SolveOperator(equation string, operator int) string
- type Angle
- type Line
- type Point
- type Radical
- type Triangle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParentheses ¶
func IsValidAngleMap ¶
func IsValidLineMap ¶
func IsValidPointMap ¶
func IsValidTriangle ¶
func IsValidTriangleMap ¶
func OpenCalculator ¶
func OpenCalculator()
func PrepEquation ¶
func SolveOperator ¶
Types ¶
type Radical ¶
func CreateRoot ¶
type Triangle ¶
type Triangle struct {
A, B, C Point
}
func (*Triangle) Circumcenter ¶
func (*Triangle) Orthocenter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.