openmx:openmx.git
4 years agoSnapshot homer
Joshua Nathaniel Pritikin [Sun, 9 Jun 2013 11:04:41 +0000 (16:34 +0530)]
Snapshot

4 years agoIgnore extra algebras, for now
Joshua Nathaniel Pritikin [Wed, 24 Apr 2013 02:14:48 +0000 (22:14 -0400)]
Ignore extra algebras, for now

4 years agoMove processing of mxData keys
Joshua Nathaniel Pritikin [Mon, 22 Apr 2013 18:26:28 +0000 (14:26 -0400)]
Move processing of mxData keys

4 years ago"only data" RAM expectation [DO NOT MERGE]
Joshua Nathaniel Pritikin [Sun, 21 Apr 2013 02:04:36 +0000 (22:04 -0400)]
"only data" RAM expectation [DO NOT MERGE]

4 years agoStore foreignKeys in std::vector
Joshua Nathaniel Pritikin [Sat, 20 Apr 2013 16:22:19 +0000 (12:22 -0400)]
Store foreignKeys in std::vector

4 years ago1 level flattening working
Joshua Nathaniel Pritikin [Sun, 9 Jun 2013 10:45:32 +0000 (16:15 +0530)]
1 level flattening working

4 years agoStore freeVar deps in a std::vector (maybe unnecessary)
Joshua Nathaniel Pritikin [Tue, 23 Apr 2013 21:36:01 +0000 (17:36 -0400)]
Store freeVar deps in a std::vector (maybe unnecessary)

4 years agoAdd omxGetFitOfExpectation
Joshua Nathaniel Pritikin [Wed, 24 Apr 2013 02:15:40 +0000 (22:15 -0400)]
Add omxGetFitOfExpectation

4 years agoFix inverted matrixNumber in omxMultigroupAdd
Joshua Nathaniel Pritikin [Mon, 10 Jun 2013 12:03:58 +0000 (17:33 +0530)]
Fix inverted matrixNumber in omxMultigroupAdd

4 years agoReorder matrix name processing
jpritikin [Mon, 10 Jun 2013 10:45:31 +0000 (10:45 +0000)]
Reorder matrix name processing

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2505 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoDump matrices using valid R syntax
jpritikin [Mon, 10 Jun 2013 10:45:23 +0000 (10:45 +0000)]
Dump matrices using valid R syntax

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2504 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoZero mxData location index so set values are easy to see
jpritikin [Mon, 10 Jun 2013 10:45:16 +0000 (10:45 +0000)]
Zero mxData location index so set values are easy to see

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2503 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoLeave fitType alone
jpritikin [Mon, 10 Jun 2013 09:43:58 +0000 (09:43 +0000)]
Leave fitType alone

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2502 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore expectationList in std::vector
jpritikin [Mon, 10 Jun 2013 09:43:48 +0000 (09:43 +0000)]
Store expectationList in std::vector

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2501 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSplit fit function initialization similar to expectations
jpritikin [Mon, 10 Jun 2013 09:43:38 +0000 (09:43 +0000)]
Split fit function initialization similar to expectations

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2500 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMxFitFunctionMultigroup
jpritikin [Mon, 10 Jun 2013 08:59:13 +0000 (08:59 +0000)]
MxFitFunctionMultigroup

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2499 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore algebraList in std::vector
jpritikin [Mon, 10 Jun 2013 08:58:52 +0000 (08:58 +0000)]
Store algebraList in std::vector

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2498 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd some ignores
jpritikin [Sun, 9 Jun 2013 11:42:44 +0000 (11:42 +0000)]
Add some ignores

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2497 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoDocument potential code cleanup plan
jpritikin [Sun, 9 Jun 2013 11:42:37 +0000 (11:42 +0000)]
Document potential code cleanup plan

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2496 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore dataList in std::vector
jpritikin [Sun, 9 Jun 2013 11:42:30 +0000 (11:42 +0000)]
Store dataList in std::vector

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2495 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoInitialize fit functions after expectations
jpritikin [Sun, 9 Jun 2013 11:42:18 +0000 (11:42 +0000)]
Initialize fit functions after expectations

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2494 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAll style guides recommend against "using namespace std;" in headers
jpritikin [Sun, 9 Jun 2013 11:42:10 +0000 (11:42 +0000)]
All style guides recommend against "using namespace std;" in headers

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2493 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore matrixList as a std::vector
jpritikin [Sun, 9 Jun 2013 08:21:55 +0000 (08:21 +0000)]
Store matrixList as a std::vector

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2492 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore freeVar locations in a std::vector
jpritikin [Sun, 9 Jun 2013 08:21:39 +0000 (08:21 +0000)]
Store freeVar locations in a std::vector

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2491 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoProtect R against C++ exceptions
jpritikin [Sat, 8 Jun 2013 11:33:53 +0000 (11:33 +0000)]
Protect R against C++ exceptions

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2490 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSwitch to C++
jpritikin [Sat, 8 Jun 2013 11:33:36 +0000 (11:33 +0000)]
Switch to C++

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2489 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFix a few minor signedness warnings
jpritikin [Sat, 8 Jun 2013 11:31:57 +0000 (11:31 +0000)]
Fix a few minor signedness warnings

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2488 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove unimplemented OMX_SOCKET_CHECKPOINT
jpritikin [Sat, 8 Jun 2013 11:31:46 +0000 (11:31 +0000)]
Remove unimplemented OMX_SOCKET_CHECKPOINT

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2487 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd CRAN prep script
jpritikin [Fri, 7 Jun 2013 13:25:36 +0000 (13:25 +0000)]
Add CRAN prep script

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2486 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFail better when assigning to model$objective
jpritikin [Fri, 10 May 2013 14:12:47 +0000 (14:12 +0000)]
Fail better when assigning to model$objective

See http://openmx.psyc.virginia.edu/thread/2106

The fix is not specific to this problem and may fix other error cases as
well. The new error output for this case is:

Error: Right-hand side of assignment operator has illegal value
MxExpectationNormal and MxFitFunctionML

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2485 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFixed data sorting problem in state space models with lots of help from Tim Brick...
mhunter [Mon, 6 May 2013 14:58:28 +0000 (14:58 +0000)]
Fixed data sorting problem in state space models with lots of help from Tim Brick.  Primary change is moving expectationFunctionAddEntities three lines up so that it happens BEFORE convertDatasets in mxRun.R

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2484 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoDocument buildbot configuration
jpritikin [Thu, 2 May 2013 16:05:43 +0000 (16:05 +0000)]
Document buildbot configuration

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2483 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoQuiet annoying PPML warning
jpritikin [Wed, 1 May 2013 21:13:59 +0000 (21:13 +0000)]
Quiet annoying PPML warning

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2482 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoModifications to passing models and PPML to eliminate some but not all warnings.
mhunter [Fri, 26 Apr 2013 04:35:49 +0000 (04:35 +0000)]
Modifications to passing models and PPML to eliminate some but not all warnings.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2481 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMaking progressing implementing LISREL paths, i.e. model type=LISREL. Not finished...
mhunter [Fri, 26 Apr 2013 03:22:04 +0000 (03:22 +0000)]
Making progressing implementing LISREL paths, i.e. model type=LISREL.  Not finished by a long shot.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2480 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoThis should fix the state space example error. I replicated the error on 64-bit...
mhunter [Wed, 24 Apr 2013 21:22:50 +0000 (21:22 +0000)]
This should fix the state space example error.  I replicated the error on 64-bit Redhat Linux.  Adding an upper bound on the offending parameter fixed the issue there.  I also found out that state space models do not estimate if you try them multi-threaded.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2479 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoChanged state space example to use TRUE/FALSE etc instead of T/F.
mhunter [Wed, 24 Apr 2013 20:25:48 +0000 (20:25 +0000)]
Changed state space example to use TRUE/FALSE etc instead of T/F.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2478 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMade a note to users in the bivariate saturated files so they don't think they have...
mhunter [Wed, 24 Apr 2013 19:16:21 +0000 (19:16 +0000)]
Made a note to users in the bivariate saturated files so they don't think they have to re-order their data columns.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2477 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoImprove omxData API
jpritikin [Sun, 21 Apr 2013 02:05:25 +0000 (02:05 +0000)]
Improve omxData API

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2476 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSimplify layout of omxData
jpritikin [Fri, 19 Apr 2013 22:45:29 +0000 (22:45 +0000)]
Simplify layout of omxData

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2475 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove unused fields from omxData
jpritikin [Fri, 19 Apr 2013 19:38:31 +0000 (19:38 +0000)]
Remove unused fields from omxData

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2474 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSimplify omxData API
jpritikin [Fri, 19 Apr 2013 17:14:22 +0000 (17:14 +0000)]
Simplify omxData API

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2473 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAllocate omxData with Calloc
jpritikin [Fri, 19 Apr 2013 17:14:22 +0000 (17:14 +0000)]
Allocate omxData with Calloc

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2472 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSimplify management of omxData.type
jpritikin [Fri, 19 Apr 2013 17:14:21 +0000 (17:14 +0000)]
Simplify management of omxData.type

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2471 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMissed one of the errors in bivariate saturated models. Should be completely fixed...
mhunter [Fri, 19 Apr 2013 16:43:18 +0000 (16:43 +0000)]
Missed one of the errors in bivariate saturated models.  Should be completely fixed now.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2470 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years ago(Hopefully) fixed the error with the numerous bivariate saturated models. I believe...
mhunter [Fri, 19 Apr 2013 16:11:54 +0000 (16:11 +0000)]
(Hopefully) fixed the error with the numerous bivariate saturated models.  I believe it was a data generation problem with MASS::mvrnorm in which different operating systems returned the data with columns in different orders.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2469 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoPrep for C++ (part 2)
jpritikin [Wed, 17 Apr 2013 15:37:14 +0000 (15:37 +0000)]
Prep for C++ (part 2)

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2468 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoPrep for C++ compilation
jpritikin [Wed, 17 Apr 2013 01:43:47 +0000 (01:43 +0000)]
Prep for C++ compilation

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2467 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd userdata argument for sort helper (like qsort_r)
jpritikin [Wed, 17 Apr 2013 01:43:42 +0000 (01:43 +0000)]
Add userdata argument for sort helper (like qsort_r)

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2466 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoExpectations only need 1 name
jpritikin [Tue, 16 Apr 2013 19:13:16 +0000 (19:13 +0000)]
Expectations only need 1 name

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2465 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFixed maximum number of dimensions bug so that only dimensions other than those ...
mneale [Tue, 16 Apr 2013 15:04:51 +0000 (15:04 +0000)]
Fixed maximum number of dimensions bug so that only dimensions other than those -inf to +inf are counted

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2464 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd API for internal expectations; remove redundent copy of rObj
jpritikin [Sat, 13 Apr 2013 18:21:23 +0000 (18:21 +0000)]
Add API for internal expectations; remove redundent copy of rObj

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2463 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoOMX_STATIC_ARRAY_SIZE
jpritikin [Sat, 13 Apr 2013 18:21:20 +0000 (18:21 +0000)]
OMX_STATIC_ARRAY_SIZE

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2462 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove omxInitEmptyExpectation; switch to C allocator
jpritikin [Sat, 13 Apr 2013 18:21:19 +0000 (18:21 +0000)]
Remove omxInitEmptyExpectation; switch to C allocator

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2461 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoC-side support for submodels
jpritikin [Sat, 13 Apr 2013 18:21:17 +0000 (18:21 +0000)]
C-side support for submodels

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2460 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd OMXZERO macro
jpritikin [Sat, 13 Apr 2013 18:21:15 +0000 (18:21 +0000)]
Add OMXZERO macro

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2459 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMove failing tests to failing directory
jpritikin [Fri, 12 Apr 2013 23:46:36 +0000 (23:46 +0000)]
Move failing tests to failing directory

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2458 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd deps on MASS and mvtnorm
jpritikin [Fri, 12 Apr 2013 14:25:08 +0000 (14:25 +0000)]
Add deps on MASS and mvtnorm

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2457 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove lots of UNPROTECTs
jpritikin [Fri, 5 Apr 2013 18:20:43 +0000 (18:20 +0000)]
Remove lots of UNPROTECTs

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2456 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRefactor allocation of omxAlgebra.args
jpritikin [Fri, 5 Apr 2013 18:20:39 +0000 (18:20 +0000)]
Refactor allocation of omxAlgebra.args

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2455 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFinal returns ought to support matrices (?)
jpritikin [Fri, 5 Apr 2013 18:20:35 +0000 (18:20 +0000)]
Final returns ought to support matrices (?)

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2454 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAvoid initial useless fit computation
jpritikin [Fri, 5 Apr 2013 18:20:32 +0000 (18:20 +0000)]
Avoid initial useless fit computation

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2453 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRefrain from duplicating the model unless required by the fitfunction
jpritikin [Fri, 5 Apr 2013 18:20:28 +0000 (18:20 +0000)]
Refrain from duplicating the model unless required by the fitfunction

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2452 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoStore the associated R SEXP in omxMatrix instead of the localdata flag
jpritikin [Fri, 5 Apr 2013 18:20:23 +0000 (18:20 +0000)]
Store the associated R SEXP in omxMatrix instead of the localdata flag

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2451 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoDeadcode removal
jpritikin [Fri, 5 Apr 2013 18:20:19 +0000 (18:20 +0000)]
Deadcode removal

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2450 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAutomatically balance PROTECT/UNPROTECT
jpritikin [Fri, 5 Apr 2013 18:20:16 +0000 (18:20 +0000)]
Automatically balance PROTECT/UNPROTECT

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2449 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoReorder initialization so free parameters are available for expectations
jpritikin [Fri, 5 Apr 2013 18:20:12 +0000 (18:20 +0000)]
Reorder initialization so free parameters are available for expectations

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2448 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoInitialize freeVarList and numFreeParam together
jpritikin [Fri, 5 Apr 2013 18:20:09 +0000 (18:20 +0000)]
Initialize freeVarList and numFreeParam together

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2447 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRename omxNewMatrixFromMxIndex to omxMatrixLookupFromState1
jpritikin [Fri, 5 Apr 2013 18:20:05 +0000 (18:20 +0000)]
Rename omxNewMatrixFromMxIndex to omxMatrixLookupFromState1

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2446 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRename omxNewDataFromMxDataPtr to omxDataLookupFromState
jpritikin [Fri, 5 Apr 2013 18:20:00 +0000 (18:20 +0000)]
Rename omxNewDataFromMxDataPtr to omxDataLookupFromState

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2445 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMxBaseExpectation submodels and container needs to be optional
jpritikin [Thu, 4 Apr 2013 04:44:36 +0000 (04:44 +0000)]
MxBaseExpectation submodels and container needs to be optional

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2444 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd missing mvtnorm dependency
jpritikin [Thu, 4 Apr 2013 04:44:32 +0000 (04:44 +0000)]
Add missing mvtnorm dependency

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2443 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRename omxNewMatrixFromIndexSlot to omxNewMatrixFromSlot
jpritikin [Sat, 30 Mar 2013 19:23:06 +0000 (19:23 +0000)]
Rename omxNewMatrixFromIndexSlot to omxNewMatrixFromSlot

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2442 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove deadcode
jpritikin [Sat, 30 Mar 2013 19:23:04 +0000 (19:23 +0000)]
Remove deadcode

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2441 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoTeach MxExpectation to store its relationship in the model tree
jpritikin [Sat, 30 Mar 2013 02:18:07 +0000 (02:18 +0000)]
Teach MxExpectation to store its relationship in the model tree

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2440 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove @info from MxBaseExpectation (it moved to MxBaseFitFunction)
jpritikin [Sat, 30 Mar 2013 02:18:02 +0000 (02:18 +0000)]
Remove @info from MxBaseExpectation (it moved to MxBaseFitFunction)

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2439 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoNote license terms on code copied from R
jpritikin [Sat, 30 Mar 2013 02:17:57 +0000 (02:17 +0000)]
Note license terms on code copied from R

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2438 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoTidy fitMatrix setup
jpritikin [Fri, 29 Mar 2013 15:58:17 +0000 (15:58 +0000)]
Tidy fitMatrix setup

+ globalState fields are already initialized to 0

+ The use of isNull implies fitfunction != NULL always

+ Hide this small code in a function just makes execution harder to read

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2437 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoReindent, whitespace only
jpritikin [Thu, 28 Mar 2013 12:40:05 +0000 (12:40 +0000)]
Reindent, whitespace only

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2436 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoUse consistent function names
jpritikin [Wed, 27 Mar 2013 15:58:03 +0000 (15:58 +0000)]
Use consistent function names

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2435 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFix broken error message & add test
jpritikin [Tue, 26 Mar 2013 19:35:09 +0000 (19:35 +0000)]
Fix broken error message & add test

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2434 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd default A,S,F matrix names for mxExpectationRAM
jpritikin [Tue, 26 Mar 2013 19:35:07 +0000 (19:35 +0000)]
Add default A,S,F matrix names for mxExpectationRAM

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2433 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove orphaned, no-longer-accurate comment
jpritikin [Tue, 26 Mar 2013 19:35:05 +0000 (19:35 +0000)]
Remove orphaned, no-longer-accurate comment

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2432 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove unreachable code (& comment)
jpritikin [Tue, 26 Mar 2013 18:30:58 +0000 (18:30 +0000)]
Remove unreachable code (& comment)

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2431 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoReindent, whitespace only
jpritikin [Tue, 26 Mar 2013 18:30:56 +0000 (18:30 +0000)]
Reindent, whitespace only

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2430 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoProcess submodels concurrently with manifest & latent variables (early)
jpritikin [Sat, 23 Mar 2013 21:33:48 +0000 (21:33 +0000)]
Process submodels concurrently with manifest & latent variables (early)

In hierarchical container models, mxPath can refer to manifests and
latents within submodels. Therefore, submodels need to be added to
the mxModel prior to mxPath processing.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2429 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoNo longer need to evaluate match.call
jpritikin [Sat, 23 Mar 2013 21:33:46 +0000 (21:33 +0000)]
No longer need to evaluate match.call

Due to recent change "Simplify error reporting of unrecognized arguments
to mxModel"

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2428 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoSimplify error reporting of unrecognized arguments to mxModel
jpritikin [Sat, 23 Mar 2013 17:33:47 +0000 (17:33 +0000)]
Simplify error reporting of unrecognized arguments to mxModel

+ Instead of printing exactly what is indigestible, we just deparse the
value. This makes it a little more difficult for users to identify what
went wrong when they pass gibberish into mxModel. For example:

Old behavior:

  Error: Cannot add the following item(s) into the model: 'rpf.drm()'

New behavior:

  Error: Cannot add the following item(s) into the model: '<S4 object of class structure("rpf.1dim.drm", package = "rpf")>'

+ The internal code becames simpler and easier to maintain. That is
the main motivation for this change. I need to make another change
that is vastly simplified by this change.

+ There could be a performance benefit. I did not test this, but it
is vaguely plausible. c(first, func.call[['...']]) might take a long
time to evaluate if there are 1000s of arguments.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2427 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoNo need to install rox, move it to dev-only dir
jpritikin [Sat, 23 Mar 2013 17:33:46 +0000 (17:33 +0000)]
No need to install rox, move it to dev-only dir

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2426 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoCentralize definitions of generic class unions
jpritikin [Sat, 23 Mar 2013 17:33:44 +0000 (17:33 +0000)]
Centralize definitions of generic class unions

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2425 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAdd preliminary helper functions for calculating weight matrices in weighted least...
mhunter [Sat, 23 Mar 2013 02:27:55 +0000 (02:27 +0000)]
Add preliminary helper functions for calculating weight matrices in weighted least squares.

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2424 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoFactor out interpretation of mxPath's connect argument
jpritikin [Sat, 16 Mar 2013 17:32:35 +0000 (17:32 +0000)]
Factor out interpretation of mxPath's connect argument

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2423 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoMark MxLISRELModel as wholely unimplemented
jpritikin [Sat, 16 Mar 2013 17:13:34 +0000 (17:13 +0000)]
Mark MxLISRELModel as wholely unimplemented

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2422 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove cut & pasted deadcode from MxLISRELModel.R
jpritikin [Sat, 16 Mar 2013 16:37:49 +0000 (16:37 +0000)]
Remove cut & pasted deadcode from MxLISRELModel.R

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2421 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove debug code
jpritikin [Sat, 16 Mar 2013 16:27:41 +0000 (16:27 +0000)]
Remove debug code

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2420 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoAutomatically set up source directory for gdb
jpritikin [Fri, 15 Mar 2013 18:13:41 +0000 (18:13 +0000)]
Automatically set up source directory for gdb

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2419 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoImprove encapsulation and remove deadcode
jpritikin [Fri, 15 Mar 2013 18:13:38 +0000 (18:13 +0000)]
Improve encapsulation and remove deadcode

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2418 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRename omxFastRAMInverse and move to omxMatrix
jpritikin [Fri, 15 Mar 2013 18:13:37 +0000 (18:13 +0000)]
Rename omxFastRAMInverse and move to omxMatrix

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2417 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoRemove commented PPML code from LISRELExpectation
jpritikin [Fri, 15 Mar 2013 18:13:35 +0000 (18:13 +0000)]
Remove commented PPML code from LISRELExpectation

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2416 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1

4 years agoReindent, whitespace only change
jpritikin [Fri, 15 Mar 2013 18:13:33 +0000 (18:13 +0000)]
Reindent, whitespace only change

git-svn-id: http://openmx.psyc.virginia.edu/svn/trunk@2415 df83fd30-4cca-4c36-ab9d-e8b5583ccbd1