Questions tagged [multiparameter]
31 questions
0
votes
1 answer
Firefox keyword search using javascript
I want to use a travel planner making full use of Firefox' Keyword Searches.
The keyword search basically just inputs a string somewhere in a predefined URL, e.g. google.com/search?q=%s with cats and dogs will go to…

Max
- 99
- 6
0
votes
0 answers
LSTM multi-sequence input to one sequence output
I am new with neural networks and am currently trying to make an LSTM model that predicts an output sequence based on multiple parameters. Excuse my ignorance and dummyness in advance.
I have obtained training and validation datasets, which look…

user17515752
- 65
- 6
0
votes
1 answer
Nested multiparameter classes
I am trying to define a new data type containing a data type with multiple parameters (phantom types) in Haskell:
newtype Dd x y z = ToDd Cudd.Cudd.DdNode deriving (Eq,Show)
data KnowStruct a b c =
KnS Cudd.Cudd.DdManager [Prp] (Dd a b c)…

Daniel Miedema
- 159
- 7
0
votes
2 answers
how to split a string between 2 parametres in ruby
Hi I try to separate input like this : ..
in a array who only have each text in each index, how I can use split with double parameters?
I try make a double split but doesn't work:
request = client.gets.chomp
dev =…

anonimo342
- 53
- 6
0
votes
1 answer
Which case will use implicit parameter and multi parameter in Scala
I had some code:
def sum1(x: Int)(y: Int) = x + y
and
def sum2(x: Int)(implicit y:Int) = x + y
Could you please explain for me which case will use sum1 and sum2?
Thank you!

Wilson Ho
- 372
- 5
- 18
0
votes
1 answer
Which way to create an object when inputting data?
I have class Person and I want to input data form the user like first name, age, sex, weight, etc. (I wantto use the Scanner class.)
How should I deal with the input data to create an object of class Person?
I consider the following options and…

enhancedJack
- 265
- 1
- 6
- 15
0
votes
1 answer
Generic multiple parameter of same type
I am trying to understand generics. In the below code getDuplicate() return type PlaceHolder has same parameter X which compiles fine. But when I use the same parameter type in MyClass it says "type variable T already defined". Can someone…

puvi
- 231
- 2
- 10
0
votes
1 answer
Multiparametric model optimization
I have a small model that I use to estimate the growth of a population of fungi given the environmental condition. The model, practically, is a MATLAB function in the following form:
growth=myfunction(envdata,params)
where growth is how much my…

Mutewinter
- 241
- 1
- 12
0
votes
1 answer
Mongoid 4 multiparameter attributes with Rails 4
I am using a date helper in a rails 4 form.
= date_select :press_article, :date
My model:
class PressArticle
include Mongoid::Document
include Mongoid::MultiParameterAttributes
field :title, type: String
field :excerpt, type: String
…

user2573222
- 207
- 4
- 15
0
votes
1 answer
Automatically infer multiparameter instance
Following up on this, I have the following typeclasses:
class Monoid m => BuilderS m a where
cstr :: String -> a -> m
class SafeCopy a where
putSafe :: a -> m
Providing instances for BuilderS:
import qualified Data.Serialize.Builder as…

Philip Kamenarsky
- 2,757
- 2
- 24
- 30
0
votes
1 answer
Flexible serialization with MultiParamTypeClasses
I'm playing around with an idea for an extensible serialization library. I have the following typeclass:
class Monoid m => BuilderS m a where
cstr :: String -> a -> m
The idea is that people can define instances for pairs of different…

Philip Kamenarsky
- 2,757
- 2
- 24
- 30
0
votes
2 answers
SpringMVC get value from dynamic form input have the same name
This is index.jsp page:

user3575798
- 1
- 2
0
votes
1 answer
Use border-width like parameter in LESS
I'm still discovering the utility of this technology.
Please I have a question if someone can answer me. I'm trying to create a function like:
.advancedBorder( @color, @size )
{
border: @size solid @color;
}
div
{
.advancedBorder( #FFF,…

Pufi
- 360
- 1
- 3
- 14
0
votes
1 answer
Multiparameter string value on a Report from Reporting Services in Sharepoint (Managed Subscriptions)
I have a huge problem trying to configure a managed subscription (Data-Driven). I cant find out how to put multivalue from a Personalized List on Sharepoint.
In my report query i have the following condition:
and invent_dim.inventsiteid in…

JGutierrezC
- 4,398
- 5
- 25
- 42
-1
votes
1 answer
Passing multiple parameters from client HTML to server
I have a HTML form allowing users to fill out questionnaires, I would like to send the filled form as well as some variables (accessible within the HTML).
I've successfully sent filled form on it's own with...
HTML...