[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Commented] (MATH-1263) Accessor in "NeuronSquareMesh2D"
From:       "Gilles (JIRA)" <jira () apache ! org>
Date:       2015-08-30 16:22:45
Message-ID: JIRA.12859930.1440771183000.205336.1440951765654 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/MATH-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721584#comment-14721584 \
] 

Gilles commented on MATH-1263:
------------------------------

Commit 46e97d9e04591e8198ff38bd2949fd5514da0d3e (4.0)

> Accessor in "NeuronSquareMesh2D"
> --------------------------------
> 
> Key: MATH-1263
> URL: https://issues.apache.org/jira/browse/MATH-1263
> Project: Commons Math
> Issue Type: Wish
> Affects Versions: 3.5
> Reporter: Gilles
> Assignee: Gilles
> Priority: Minor
> Labels: api-addition
> Fix For: 4.0, 3.6
> 
> Attachments: MATH-1263.patch
> 
> 
> In class {{NeuronSquareMesh2D}} (package {{o.a.c.m.ml.neuralnet}}):
> A new method to select a neighbour in a certain "direction" (to be defined
> with an "enum") would be useful (for some visualizations that need the exact \
> location of each neighbour): {code}
> public class NeuronSquareMesh2D {
> // ...
> public enum HorizontalDirection {
> RIGHT, CENTER, LEFT,
> }
> public enum VerticalDirection {
> UP, CENTER, DOWN,
> }
> public Neuron getNeuronNeighbour(int i,
> int j,
> HorizontalDirection iDir,
> VerticalDirection jDir) {
> // ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic