Questions tagged [heterogeneous]

This tag is ambiguous. Please use other, more specific tags to narrow down the scope of your question.

This tag is ambiguous. Please use other, more specific tags to narrow down the scope of your question.

116 questions
1
vote
1 answer

Do I need heterogeneous equality?

Brief background: I'm implementing contexts and renamings using de Bruijn indices, and then extending those notions with an "undefined" name, written ε. The undefined name induces a partial order on names in Γ, and also on renamings between Γ and…
Roly
  • 2,126
  • 2
  • 20
  • 34
1
vote
0 answers

mutable heterogeneous list, Scala

Is it possible to add elements to some mutable object which should be a heterogeneous list? So what I mean, I am dealing with Dijkstra's algorithm, and i need to keep some functions in arcs of the graph in such a way: class Arc[M, N, T, K](var…
DaunnC
  • 1,301
  • 15
  • 30
1
vote
1 answer

Dynamically growing heterogeneous list, Scala

Is there a way to persist(I mean keep in a var) (is it possible?) a dynamically growing HList ? my pseudo code: var llist = 1 :: 2 :: "foo" :: true :: HNil var list: HList = HNil // here is a wrong type! in fact we dont need HList type object…
DaunnC
  • 1,301
  • 15
  • 30
1
vote
1 answer

Linking a postgres table with a mysql tables fails at test

I am trying to reflect/mirror data from a Postgres table to a MySQL table. I found mysql_fwd and after connection everything to a localhost, I cannot enter data into the postgres FOREIGN TABLE. nor does data entered into MySQL, show up in postgres…
brad
  • 870
  • 2
  • 13
  • 38
1
vote
1 answer

Joining tables from Postgres to MySQL using mysql_fdw or

I have a table in Postgres that I need to reflect in MySQL. I found this http://wiki.postgresql.org/wiki/Foreign_data_wrapper#mysql_fdw though the directions are very unclear how to actually link to MySQL. CREATE FOREIGN TABLE works in Postgres but…
brad
  • 870
  • 2
  • 13
  • 38
1
vote
1 answer

storing the instances of the derived class in C++

I saw that many people use new to create instances of the derived classes and then they keep a pointer to base in some container. Does that have any advantage with respect to using a container for each derived class? With this I meant something like…
German Capuano
  • 5,183
  • 6
  • 23
  • 35
1
vote
2 answers

Can tungsten replicator connect to sqlserver through ODBC and standard SQL?

Tungsten appears to support ODBC connections, but it's not clear if a connection to sqlserver would work. Any thoughts? I want to have sqlserver as the source, and MySQL as the destination. Drop and replace all data might be fine. If not tungsten,…
hullsean
  • 11
  • 3
1
vote
1 answer

Rendering a Heterogeneous Collection of View Models in Silverlight 2

I have a hierarchy of view models representing formatted content: public abstract class ContentPartViewModel : ViewModel { } public class TextContentPartViewModel : ContentPartViewModel { public string Text { ... } } public class…
Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
1
vote
1 answer

Heterogenous computing using OpenCl Vs java

Java and OpenCL both support Heterogeneous Computing; systems with multiple architecture working cooperatively in parallel(Task and data parallel ). portability is the main goal in both the cases, and both have achieved this goal to a large extent.…
gpuguy
  • 4,607
  • 17
  • 67
  • 125
0
votes
1 answer

Heterogeneous Collection of Partials

I am banging my head to figure out a way to have a heterogeneous collection of partials. I use this to list the collection of partials called @feed_items (in the "Tweet" class) and its working great for the one class: <%= render :partial =>…
Tim
  • 99
  • 1
  • 11
0
votes
4 answers

Serial CPU vs GPU code

I'm writing a theoretical assignment of the possibilities in heterogeneous computing. I need to compare the effectiveness of a single thread (non-parallelizable) executed in serial manner on either the CPU or the GPU. I know it's an odd question…
Sune1987
  • 155
  • 2
  • 10
0
votes
1 answer

How to make an OLE heterogeneous join between MS Access Db and Pervasive SQL 2000i Db

I would like to use an OleDbDataReader and a select statement similar to below: I am using C# 4.0 and .NET 4.0: Database1 = MS access Database2 = Pervasive SQL 2000i SELECT db1.Field1, db2.Field2 FROM Database1 db1 INNER JOIN Database2 db2 ON…
user610064
  • 481
  • 2
  • 11
  • 25
0
votes
1 answer

PyTorch Geometric heterogeneous graph, getting error "RuntimeError: mat1 and mat2 must have the same dtype"

I am currently attempting to make a heterogeneous graph regression model, but when I run the code I get the error: "RuntimeError: mat1 and mat2 must have the same dtype". The code can be found below: import torch.nn.functional as F import…
Bertie A
  • 1
  • 1
0
votes
0 answers

How to plot regression negative weights in R

I was playing with data set "df_het" in the context of Borusyak, Jaravel, and Spiess (2021) Estimator, and the adaptation to R code of @kylebutts in Github. I wish to prove that this data set with heterogeneous treatment effects has indeed negative…
0
votes
0 answers

R tests for trend with summary coefficient and standard errors

I have the beta coefficient and standard error for the treatment effect of four independent groups and I want to test for a trend in the effect size across these four groups. Is there a way to test for this in R? I have used library meta in the past…
nwan5905
  • 11
  • 2