close Warning: Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Last modified 13 years ago

#950 closed defect

DecoTools::Deco.SynergyFree no va con matrices de contribuciones — at Version 2

Reported by: tuyuan Owned by: Claudia Escalonilla
Priority: major Milestone: Development 1A
Component: DecoTools Keywords: SynergyFree matrices
Cc:

Description (last modified by Pedro Gea)

Hola:
parece que DecoTools::Deco.SynergyFree no va cuando las contribuciones están expresadas en matrices.
Dejo el siguiente ejemplo

Matrix a = Tra( Matrix (1, 1));
Set hola = [[ a*5, a*3, a, a ]];

este no va.

Set marginal = DecoTools::Deco.SynergyFree(
DecoTools::Deco.BaseMarginal(hola, FindCode("Real", "DistNormal"))
);

este sí

Set DecoTools::Deco.SynergyFree(
DecoTools::Deco.BaseMarginal([[5,3,1,1]], FindCode("Real", "DistNormal"))
);

Gracias.

Change History (2)

comment:1 Changed 13 years ago by Pedro Gea

Description: modified (diff)
Milestone: Development 1A
Owner: changed from Pedro Gea to Claudia Escalonilla
Status: newassigned

Para mayor claridad introdúzcase el código entre triples llaves (véase: Uso de las triples llaves).

comment:2 Changed 13 years ago by Pedro Gea

Description: modified (diff)
Note: See TracTickets for help on using tickets.