Tools
Utilities for Newclid.
- exception InfQuotientError
Bases:
Exception
- get_quotient(v)
- Return type:
Fraction
- atomize(s, split_by=None)
- Return type:
tuple
[str
,...
]
- str_to_fraction(s)
- Return type:
Fraction
- fraction_to_len(f)
- fraction_to_ratio(f)
- fraction_to_angle(f)
- reshape(to_reshape, n)
- Return type:
Generator
[tuple
[TypeVar
(T
),...
],None
,None
]
- add_edge(net, u, v)
- run_static_server(directory_to_serve)
- boring_predicate(predicate)
- Return type:
bool
- point_construction_tuple(point_name)
- Return type:
tuple
[str
,...
]
- points_by_construction_order(points)
- Return type:
list
[TypeVar
(S
, bound=str
)]
- pretty_basemodel_diff(actual, expected)
- Return type:
str
- pretty_basemodel_list_diff(actual, expected)
- Return type:
str