[ 
https://issues.apache.org/jira/browse/GEOMETRY-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743577#comment-17743577
 ] 

Dimitrios Efthymiou edited comment on GEOMETRY-154 at 7/16/23 11:01 PM:
------------------------------------------------------------------------

[~mattjuntunen] for example, in graphics, you might want to place an object 
exactly two-thirds of the way between two points. Or in machine learning, 
dividing a vector that represents this dataset based on a ratio (such as 80:20 
or 70:30). Or in GIS.

One thing i would love to do is to go through the apache projects, see which 
ones already depend on the math library, and see if they implement some math 
stuff that could be replaced by a call to commons math or move that function to 
the math library. Would such cases be considered valid for implementing new 
math algorithms inside the math libraries? I don't think i have seen any ticket 
that wants to implement new math algorithms


was (Author: JIRAUSER301169):
[~mattjuntunen] for example, in graphics, you might want to place an object 
exactly two-thirds of the way between two points. Or in machine learning, 
dividing a vector that represents this dataset based on a ratio (such as 80:20 
or 70:30). Or in GIS.

One thing i would love to do is to go through the apache projects, see which 
ones already depend on the math library, and see if they implement some math 
stuff that could be replaced by a call to commons math or move that function to 
the math library. Would such cases be considered valid for implementing new 
math algorithms inside the math libraries?

> Implement divideVectorWithRatio(Vector x, double ratio)
> -------------------------------------------------------
>
>                 Key: GEOMETRY-154
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-154
>             Project: Commons Geometry
>          Issue Type: New Feature
>          Components: euclidean1D, euclidean2D, euclidean3D
>            Reporter: Dimitrios Efthymiou
>            Priority: Minor
>              Labels: features
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> It takes a vector, say, u = (10) and divides it with ratio, say 1/2. That 
> will return a pair of vectors v = (3.33) and w = (6.66). Regardless of 
> dimensions, both vectors start at the point of origin



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to